<?php
	session_start();
	include "functions/init_bdd.php";

	$id = $_GET['id'];
	$follower = $_SESSION['id'];
	$query = "DELETE FROM followers WHERE followed='$id' AND follower='$follower'";
	$result = bdd_query($query);
	header("Location: zone.php?id=$id");
?>